using System;
using System.ComponentModel;
using System.Data;
using System.Runtime.Serialization;





namespace DataAccess
{
    /// <summary>
    /// A custom serializable dataset containing ADM_FLUJOS information.
    /// </summary>
    [Serializable()]
    [DesignerCategory("code")]
    public class FinDocumentosEpesData : DataTable
    {
        ///
        /// Constants for table and fields mapping
        ///
        public const String FIN_DOCUMENTOS_EPES_TABLE = "FIN_DOCUMENTOS_EPES";
        public const String FED_ID_FIELD = "FED_ID";
        public const String FAE_ID_FIELD = "FAE_ID";
        public const String FED_RESPONSABLE_FIELD = "FED_RESPONSABLE";
        public const String FED_VALOR_FIELD = "FED_VALOR";




        public FinDocumentosEpesData()
		{
			this.BuildDataTables();
		}


        protected FinDocumentosEpesData(SerializationInfo info, StreamingContext context)
		{
			//
		}

		/// <summary>
		/// 
		/// </summary>
		private void BuildDataTables()
		{
            this.Columns.Add(FED_ID_FIELD, typeof(Decimal));
            this.Columns.Add(FAE_ID_FIELD, typeof(Decimal));
            this.Columns.Add(FED_RESPONSABLE_FIELD, typeof(String));
            this.Columns.Add(FED_VALOR_FIELD, typeof(bool));
            this.TableName = FIN_DOCUMENTOS_EPES_TABLE;
		}

        /// <summary>
        /// 
        /// </summary>
        /// <param name="row"></param>
        public void Add(DataRow row)
        {
            this.Rows.Add(row);
        }

    }
}

